﻿using System.Collections.Generic;

namespace Conference.Common {
    /// <summary>
    /// 集合扩展
    /// </summary>
    public static class CollectionExtensions {
        public static void AddRange<T>(this ICollection<T> collection, IEnumerable<T> items) {
            foreach(var item in items) {
                collection.Add(item);
            }
        }
    }
}